package com.jeeplus.common.utils.redis;

/**
 * <p>redis keys类</p>
 * @author liangbing
 *
 */
public class RedisKeys {

    /**
     * 获得业务员登录验证码 redis key
     * @param mobile
     * @return
     */
    public static String salesmanLoginCaptcha(String mobile) {
        return "salesman:captcha:" + mobile;
    }

    /**
     * 获得业务员登录token redis key
     * @param mobile
     * @return
     */
    public static String salesmanLoginToken(String mobile) {
        return "salesman:token:" + mobile;
    }

    /**
     * 获得服务生登录验证码 redis key
     * @param mobile
     * @return
     */
    public static String waiterLoginCaptcha(String mobile) {
        return "waiter:captcha:" + mobile;
    }

    /**
     * 获得服务生登录token redis key
     * @param mobile
     * @return
     */
    public static String waiterLoginToken(String mobile) {
        return "waiter:token:" + mobile;
    }

    /**
     * 获得服务生极光registrationID
     * @param mobile 手机号
     * @return
     */
    public static String waiterRegistration(String mobile) {
        return "waiter:registrationID:" + mobile;
    }

    /**
     * 呼叫用redis key
     * @param roomCallsId
     * @return
     */
    public static String callPush(String roomCallsId) {
        return "CallPush:" + roomCallsId;
    }

}